package fr.vvins.core.biz.group;

import java.util.List;

import fr.vvins.core.biz.group.dto.GroupDto;
import fr.vvins.core.biz.group.dto.GroupDtoInfo;
import fr.vvins.core.common.TechnicalException;

public interface GroupManager {

	public GroupDto createGroup(GroupDto group) throws GroupException, TechnicalException;

	public GroupDto getGroup(int groupId) throws GroupException, TechnicalException;

	public List<GroupDtoInfo> getGroupByVigneron(int vigneronId) throws GroupException, TechnicalException;
	
	public List<GroupDtoInfo> getGroups() throws GroupException, TechnicalException;

	public List<GroupDtoInfo> getGroupByCreator(int parseInt) throws GroupException, TechnicalException;

	public List<GroupDtoInfo> getGroupByUser(int parseInt) throws GroupException, TechnicalException;

}
